package com.ym.pms.dao;

import com.ym.pms.model.Bunk;

import java.util.List;

public interface BunkMapper {
    int deleteByPrimaryKey(String bkCoding);

    int insert(Bunk record);

    int insertSelective(Bunk record);

    Bunk selectByPrimaryKey(String bkCoding);

    int updateByPrimaryKeySelective(Bunk record);

    int updateByPrimaryKey(Bunk record);

    List<Bunk> queryBunkList();

    Bunk getMessage(String bkCoding);

    Integer getBuildingMaxNo();

    List<Bunk> findAllInRoom(String rmCoding);

    List<Bunk> fuzzyQuery(Bunk bunk);

    void changeStatus(String bkCoding, String Souse);

    void deleteAllByRmCoding(String rmCoding);

    Double getMinVBkRentBySuCoding(String suCoding);
}